form
{
    /* Just to center the form on the page */
    margin: 0 auto;
    width: 400px;
    /* To see the outline of the form */
    padding: 1em;
    border: 1px solid #CCC;
    border-radius: 1em;
}

form div + div
{
    margin-top: 1em;
}

fieldset
{
    border: 1px solid #CCC;
    border-radius: 1em;
}

label
{
    /* To make sure that all labels have
    the same size and are properly aligned */
    display: inline-block;
    width: 150px;
    text-align: right;
}

input
{
    /* To make sure that all text fields
    have the same font settings */
    font: 1em SansSerif;

    /* To give the same size to all text fields */
    width: 200px;
    box-sizing: border-box;

    /* To harmonize the look and feel of text field border*/
    border: 1px solid #CCC;
    border-radius: 3px;
}


button[type="submit"]
{
    background-color: dodgerblue;
    border: none;
    border-radius: 1em;
    color: white;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    padding: 12px 0;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

button[type="submit"]:hover
{
    background-color: cornflowerblue;
}